package com.ruoyi.check.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检点项对象 e_check_list_form_sub_item
 * 
 * @author hugh.sun
 * @date 2023-03-23
 */
public class ECheckListFormSubItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 选项表id */
    @Excel(name = "选项表id")
    private Long itemId;

    /** 子选项名 */
    @Excel(name = "子选项名")
    private String subItem;

    /** 子选项类型 */
    @Excel(name = "子选项类型")
    private Long subItemType;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setSubItem(String subItem) 
    {
        this.subItem = subItem;
    }

    public String getSubItem() 
    {
        return subItem;
    }
    public void setSubItemType(Long subItemType) 
    {
        this.subItemType = subItemType;
    }

    public Long getSubItemType() 
    {
        return subItemType;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemId", getItemId())
            .append("subItem", getSubItem())
            .append("subItemType", getSubItemType())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }
}
